package com.neusoft.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 员工年假情况表
 */
@ApiModel(description="员工年假情况表")
@Data
@TableName(value = "employee_annual_vocation")
public class EmployeeAnnualVocation {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 员工id,关联employee.id
     */
    @TableField(value = "emp_id")
    @ApiModelProperty(value="员工id,关联employee.id")
    private Integer empId;

    /**
     * 年度
     */
    @TableField(value = "`year`")
    @ApiModelProperty(value="年度")
    private Integer year;

    /**
     * 应有年假天数
     */
    @TableField(value = "entitled_days")
    @ApiModelProperty(value="应有年假天数")
    private Integer entitledDays;

    /**
     * 已使用年假天数
     */
    @TableField(value = "used_days")
    @ApiModelProperty(value="已使用年假天数")
    private Integer usedDays;

    /**
     * 去年剩余年假天数
     */
    @TableField(value = "remaining_from_lastyear")
    @ApiModelProperty(value="去年剩余年假天数")
    private Integer remainingFromLastyear;

    /**
     * 当前剩余年假天数
     */
    @TableField(value = "remaining_days")
    @ApiModelProperty(value="当前剩余年假天数")
    private Integer remainingDays;

    /**
     * 是否已清空上年剩余,1是0否
     */
    @TableField(value = "clear_remaining_lastyear")
    @ApiModelProperty(value="是否已清空上年剩余,1是0否")
    private Boolean clearRemainingLastyear;
}